package top.jimc.spring.javaconfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.jimc.spring.javaconfig.impl.HelloWorldImpl;

/**
 * @author Jimc.
 * @since 2018/9/27.
 */
@Configuration
public class HelloWorldConfig {

    @Bean(name = "helloWorld")
    public HelloWorld helloWorld(){
        return new HelloWorldImpl();
    }
}
